const arr = [{ 姓名: '江江', 手机号: '18045042340' }]
const mapInfo = {
  姓名: 'username',
  手机号: 'mobile'
}
function test(arr) {
  const chkeys = Object.keys(arr[0])
  console.log(chkeys)
  const obj = {}
  arr.map((item) => {
    chkeys.forEach((zwkey) => {
      const enkey = mapInfo[zwkey]
      obj[enkey] = item[zwkey]
    })
  })
  return obj
}
console.log(test(arr))
